package com.tssrv.domain;

public class LengthTime {
	private int length;
	private TimeSpec timeSpec;
	public LengthTime(int length, TimeSpec timeSpec) {
		super();
		this.length = length;
		this.timeSpec = timeSpec;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public TimeSpec getTimeSpec() {
		return timeSpec;
	}
	public void setTimeSpec(TimeSpec timeSpec) {
		this.timeSpec = timeSpec;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "length = " + length + " " + timeSpec.toString();
	}
}
